import { get, post } from '../utils/request';

module.exports = {
  list: (data) => {
    return get('goods', data)
  },
  
  detail: (id) => {
    return get('goods/detail', {
      id: id
    })
  },

  poster: (id) => {
    return get('goods/poster', {
      id: id
    })
  },

  comment: (data) => {
    return get('goods/comment', data)
  }
}
